package ar.com.solidussource.howmuchmobile.common.utils;

/**
 * Created with IntelliJ IDEA.
 * User: FT31270775
 * Date: 21/09/12
 * Time: 14:19
 * To change this template use File | Settings | File Templates.
 */
public class MathUtils {

    public static Double getDistance(int x1, int y1, int x2, int y2){

        double distancia = Math.sqrt( (x2 - x1)*(x2 - x1) + (y2 - y1)*(y2 - y1) );

        return new Double(distancia);

    }
}
